import Layout from '@/layout'
const vehicleManagementRouter = {
  path: '/vehicleManagement/list',
  component: Layout,
  name: 'vehicleManagement-list',
  meta: {
    title: '车辆管理',
    icon: 'vehicleManagement',
    permissions: ['vehicleManagement.query']
  },
  children: [
    {
      path: '/vehicleManagement/list',
      component: () => import('@/views/vehicleManagement/list'),
      name: 'vehicleManagement-list',
      meta: {title: '车辆管理', icon: 'vehicleManagement'
        // ,permissions: ['vehicleManagement.query']
      },
    },

    // 注册路由
    {
      path: '/vehicleManagement/list',
      component: () => import('@/views/vehicleManagement/list'),
      name: 'vehicleManagement-list',
      meta: { title: '车辆管理资料', icon: 'sub_vehicleManagement'},
      hidden: true
    },
    {
      path: '/vehicleManagement/add',
      component: () => import('@/views/vehicleManagement/add'),
      name: 'vehicleManagement-add',
      meta: { title: '新增车辆管理', icon: 'vehicleManagement'},
      hidden: true
    },
    {
      path: '/vehicleManagement/edit',
      component: () => import('@/views/vehicleManagement/edit'),
      name: 'vehicleManagement-edit',
      meta: { title: '修改客车辆管理', icon: 'sub_vehicleManagement'},
      hidden: true
    },

    {
      path: '/vehicleManagement/detail',
      component: () => import('@/views/vehicleManagement/detail'),
      name: 'vehicleManagement-detail',
      meta: { title: '车辆详情', icon: 'sub_vehicleManagement'},
      hidden: true
    },
  ]
}
export default vehicleManagementRouter
